package ${packageName};

import android.os.Bundle;

import ${applicationPackage}.BR;
import ${applicationPackage}.R;
import ${applicationPackage}.databinding.Activity${underscoreToCamelCase(layoutName)}Binding;
<#if !generateViewModel>
import me.goldze.mvvmhabit.base.BaseViewModel;
<#else>
import ${packageName}.viewModel.${viewModelName};
</#if>
import me.goldze.mvvmhabit.base.BaseActivity;

/** 
 * ${activityLabel}
 */ 
public class ${activityClass} extends BaseActivity<${underscoreToCamelCase(layoutName)}Binding,<#if generateViewModel>${viewModelName}<#else>BaseViewModel</#if>> {

    @Override
    public int initContentView(Bundle savedInstanceState) {
        return R.layout.${layoutName};
    }

    @Override
    public int initVariableId() {
        return BR.viewModel;
    }

//    @Override
//    public ${viewModelName} initViewModel() {
//        //View持有ViewModel的引用，如果没有特殊业务处理，这个方法可以不重写
//        return ViewModelProviders.of(this).get(${viewModelName}.class);
//    }

	@Override
    public void initData() {
       
    }
	
    @Override
    public void initViewObservable() {


    }
}
